package com.sporadic.backstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 菜品类型表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("dishestype")
public class DishesType {
    @TableId(value = "dt_id",type = IdType.AUTO)
    private Integer dtId;//菜品类型id
    @TableField("dt_name")
    private String dtName;//菜品类型名称
    @TableField("dt_merchantId")
    private Integer dtMerchantId;//菜品所属商家
    @TableField("dt_isType")
    private Integer dtIsType;//判断是否是菜品类型
}
